'use strict';
const db = uniCloud.database();
exports.main = async (event, context) => {
	const order = db.collection("order");
	let res = await order.doc(event._id).update({
		"score": event.score,
	});
	return res;
};